﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SingleProject_Add.aspx.cs"
    Inherits="ProjectManage_SingleProject_Add" %>
    
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <base target="_self" />
    <link href="../css/css.css" rel="stylesheet" type="text/css" />

    <script src="../JS/calendar.js" type="text/javascript"></script>

    <script src="../js/Common.js" type="text/javascript"></script>
    
     <script type="text/javascript" language="javascript">
         /////调用人员选择树      
         //选择人员信息
         var sChoiceID;              //所在赋值的关键字  
         var ChoiceNameInfo;         //选择的名称集合
         var ChoiceIDInfo;           //选择的ID集合
         var iChoicePoNumber1 = 0;     //0表示任意多,其它的正整数为可以选择的最大个数.不可以为负数      
         function GetMyPersTree(obj) {
             var sOrgIDCol = form1.HOrgIDCol.value;
             var sFeatures = "dialogHeight:600px;dialogWidth:700px;resizeable:no;help:no;status:no";
             var obj = showModalDialog("../SysManage/ChoicePersInfo.aspx?ChoiceID=" + obj + "&OrgType=2&OrgIDCol=" + sOrgIDCol, window, sFeatures);
             if (obj != undefined) {
                 sChoiceID = obj.sChoiceID;
                 ChoiceNameInfo = obj.ChoiceNameInfo;
                 ChoiceIDInfo = obj.ChoiceIDInfo;
                 eval("form1.ChoiceName_" + sChoiceID + ".value=" + ChoiceNameInfo + ";");
                 eval("form1.HChoiceID_" + sChoiceID + ".value=" + ChoiceIDInfo + ";");
                 eval("form1.HNewChoiceID_" + sChoiceID + ".value=" + ChoiceIDInfo + ";");
                 eval("form1.ChoiceName_" + sChoiceID + ".blur()");
             }
         }
         function fPopUpCalendarDlg(ctrlobj)  //日期速查
         {
             showx = event.screenX - event.offsetX - 4; // + deltaX;
             showy = event.screenY - event.offsetY + 18; // + deltaY;
             newWINwidth = 210 + 4 + 18;

             retval = window.showModalDialog("../js/CalendarDlg.htm", "", "dialogWidth:197px; dialogHeight:210px; dialogLeft:" + showx + "px; dialogTop:" + showy + "px; status:no; directories:yes;help:no;scrollbars:no;Resizable=no; ");
             if (retval != null) {
                 ctrlobj.value = retval;
             } else {
             }
             ctrlobj.blur();
         }
         function add() {
             if (form1.txtprojectno.value == "") {
                 form1.txtprojectno.focus();
                 alert("项目编号不能为空！");
                 return;
             }

             if (form1.txtname.value == "") {
                 form1.txtname.focus();
                 alert("项目名称不能为空！");
                 return;
             }

             if (form1.ChoiceName_2.value == "") {
                 form1.ChoiceName_2.focus();
                 alert("第一负责人不能为空！");
                 return;
             }

             var btnSave = window.document.getElementById("btnAdd");
             if (btnSave != null)
                 btnSave.click();
         }
    </script>

</head>
<body style="background-image: url('../images/hit_bg.gif');">
    <% 
        Response.ExpiresAbsolute = System.DateTime.Now.AddSeconds(-1);
        Response.Expires = 0;
        Response.CacheControl = "no-cache";
    %>
    <form id="form1" runat="server">
    <table width="98%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="327AC6">
        <tr style="background-color: #F9F9FB; height: 25;">
            <td height="25" rowspan="16" align="right">
                设计人填写
            </td>
            <td height="25" align="right">
                项目名称
            </td>
            <td height="25" colspan="5" align="left">
                <asp:Label ID="labprojectname" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td height="25" align="right">
                项目编号
            </td>
            <td height="25" colspan="5" align="left">
                <asp:Label ID="labprojectno" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td height="25" align="right">
                单项工程编号
            </td>
            <td height="25" align="left">
                <asp:TextBox ID="txtspno" runat="server" Width="100px"></asp:TextBox>
            </td>
            <td height="25" align="right">
                册号
            </td>
            <td height="25" align="left">
                <asp:DropDownList ID="ddllistno" runat="server">
                    <asp:ListItem Value="全">全</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td height="25" align="right">
                分册号
            </td>
            <td height="25" align="left">
                <asp:DropDownList ID="ddlvolumeno" runat="server">
                    <asp:ListItem Value="全">全</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td height="25" align="right">
                单项工程名称
            </td>
            <td height="25" colspan="3" align="left">
                <asp:TextBox ID="txtspname" runat="server" Width="100px"></asp:TextBox>
            </td>
            <td height="25" align="right">
                修正
            </td>
            <td height="25" align="left">
                <asp:TextBox ID="txtfix" runat="server" Width="100px"></asp:TextBox>
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td align="right">
                设计阶段
            </td>
            <td align="left">
                <asp:Label ID="lblstage" runat="server" Text=""></asp:Label>
            </td>
            <td align="right">
                工程类别
            </td>
            <td align="left">
                <asp:Label ID="lblconstruction" runat="server" Text=""></asp:Label>
            </td>
            <td align="right">
                项目类别
            </td>
            <td align="left">
                <asp:Label ID="lblprojecttype" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td align="right">
                进度类型
            </td>
            <td align="left">
                <asp:Label ID="lblprogresstype" runat="server" Text=""></asp:Label>
            </td>
            <td align="right">
                文件编号
            </td>
            <td>
                <asp:Label ID="lblfileno" runat="server" Text=""></asp:Label>
            </td>
            <td align="right">
                计划完成日期
            </td>
            <td>
                <asp:Label ID="lblfinishdate" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td align="right">
                委托方式
            </td>
            <td align="left">
                <asp:Label ID="labcommission" runat="server" Text="书面"></asp:Label>
            </td>
            <td align="right">
                委托单位
            </td>
            <td>
                <asp:Label ID="lblcommpany" runat="server" Text=""></asp:Label>
            </td>
            <td align="right">
                委托日期
            </td>
            <td>
                <asp:Label ID="labtpdate" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td align="right">
                联系人姓名
            </td>
            <td align="left">
                <asp:Label ID="labcontactname" runat="server" Text=""></asp:Label>
            </td>
            <td align="right">
                联系人电话
            </td>
            <td align="left">
                <asp:Label ID="labcontacttel" runat="server" Text=""></asp:Label>
            </td>
            <td align="right">
                承接部门
            </td>
            <td align="left">
                <asp:Label ID="labcontactdept" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr style="background-color: #F9F9FB;">
            <td align="right">
                项目总负责人
            </td>
            <td align="left">
                <asp:Label ID="labperson1" runat="server" Text=""></asp:Label>
            </td>
            <td align="right">
                第二总负责人
            </td>
            <td align="left">
                <asp:Label ID="labperson2" runat="server" Text=""></asp:Label>
            </td>
            <td align="right">
                是否合作项目
            </td>
            <td align="left">
                <asp:Label ID="labcooperation" runat="server" Text="否"></asp:Label>
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td align="right">
                设计专业
            </td>
            <td align="left" colspan="5">
                <asp:CheckBox ID="CheckBox1" runat="server" />无线<asp:CheckBox ID="CheckBox2" runat="server" />交换<asp:CheckBox
                    ID="CheckBox3" runat="server" />电源<asp:CheckBox ID="CheckBox4" runat="server" />配套<asp:CheckBox
                        ID="CheckBox25" runat="server" />结构<asp:CheckBox ID="CheckBox5" runat="server" />动态监控<asp:CheckBox
                            ID="CheckBox6" runat="server" />智能<br />
                <asp:CheckBox ID="CheckBox7" runat="server" />线路<asp:CheckBox ID="CheckBox8" runat="server" />规划<asp:CheckBox
                    ID="CheckBox9" runat="server" />电气<asp:CheckBox ID="CheckBox10" runat="server" />槽道<asp:CheckBox
                        ID="CheckBox11" runat="server" />铁塔<asp:CheckBox ID="CheckBox12" runat="server" />给排水<br />
                <asp:CheckBox ID="CheckBox13" runat="server" />装修<asp:CheckBox ID="CheckBox14" runat="server" />综合<asp:CheckBox
                    ID="CheckBox15" runat="server" />管道<asp:CheckBox ID="CheckBox16" runat="server" />变配电<asp:CheckBox
                        ID="CheckBox17" runat="server" />土建<asp:CheckBox ID="CheckBox18" runat="server" />动环/安保<br />
                <asp:CheckBox ID="CheckBox19" runat="server" />数据<asp:CheckBox ID="CheckBox20" runat="server" />传输<asp:CheckBox
                    ID="CheckBox21" runat="server" />空调<asp:CheckBox ID="CheckBox22" runat="server" />建筑<asp:CheckBox
                        ID="CheckBox23" runat="server" />工艺<asp:CheckBox ID="CheckBox24" runat="server" />安保监控
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td align="right">
                单项负责人
            </td>
            <td align="left">
                <asp:TextBox ID="ChoiceName_1" runat="server" onclick="GetMyPersTree(1)"></asp:TextBox>
                <input type="hidden" id="HChoiceID_1" runat="server" />
                <input type="hidden" id="HNewChoiceID_1" runat="server" />
            </td>
            <td align="right">
                设计人
            </td>
            <td align="left">
                <asp:TextBox ID="ChoiceName_2" runat="server" onclick="GetMyPersTree(2)"></asp:TextBox>
                <input type="hidden" id="HChoiceID_2" runat="server" />
                <input type="hidden" id="HNewChoiceID_2" runat="server" />
            </td>
            <td align="right">
                校审人
            </td>
            <td align="left">
                <asp:TextBox ID="txtproofreader" runat="server" Width="100px"></asp:TextBox>
                 <asp:TextBox ID="ChoiceName_8" runat="server" onclick="GetMyPersTree(8)"></asp:TextBox>
                <input type="hidden" id="HChoiceID_8" runat="server" />
                <input type="hidden" id="HNewChoiceID_8" runat="server" />
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td height="25" align="right">
                所审核人
            </td>
            <td height="25" align="left">
                <asp:TextBox ID="ChoiceName_3" runat="server" onclick="GetMyPersTree(3)"></asp:TextBox>
                <input type="hidden" id="HChoiceID_3" runat="server" />
                <input type="hidden" id="HNewChoiceID_3" runat="server" />
            </td>
            <td align="right">
                项目总负责人
            </td>
            <td height="25" align="left">
                <asp:TextBox ID="ChoiceName_4" runat="server" onclick="GetMyPersTree(4)"></asp:TextBox>
                <input type="hidden" id="HChoiceID_4" runat="server" />
                <input type="hidden" id="HNewChoiceID_4" runat="server" />
            </td>
            <td height="25" align="right">
                部门主管
            </td>
            <td height="25" align="left">
                <asp:TextBox ID="ChoiceName_5" runat="server" onclick="GetMyPersTree(5)"></asp:TextBox>
                <input type="hidden" id="HChoiceID_5" runat="server" />
                <input type="hidden" id="HNewChoiceID_5" runat="server" />
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td height="25" align="right">
                分院审核人
            </td>
            <td height="25" align="left">
                <asp:TextBox ID="ChoiceName_6" runat="server" onclick="GetMyPersTree(6)"></asp:TextBox>
                <input type="hidden" id="HChoiceID_6" runat="server" />
                <input type="hidden" id="HNewChoiceID_6" runat="server" />
            </td>
            <td height="25" align="right">
                标准化人员
            </td>
            <td height="25" align="left">
                <asp:TextBox ID="ChoiceName_7" runat="server" onclick="GetMyPersTree(7)"></asp:TextBox>
                <input type="hidden" id="HChoiceID_7" runat="server" />
                <input type="hidden" id="HNewChoiceID_7" runat="server" />
            </td>
            <td height="25" align="right">
                投资额
            </td>
            <td height="25" align="left">
                <asp:TextBox ID="txtInvestment" runat="server" Width="100px"></asp:TextBox>
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td height="25" align="right">
                工程费
            </td>
            <td height="25" align="left">
                <asp:TextBox ID="txtprojectcost" runat="server" Width="100px"></asp:TextBox>
            </td>
            <td height="25" align="right">
                设计费
            </td>
            <td height="25" align="left">
                <asp:TextBox ID="txtdesignfees" runat="server" Width="100px"></asp:TextBox>
            </td>
            <td height="25" align="right">
                实物工作量
            </td>
            <td height="25" align="left">
                &nbsp;
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td height="25" align="right">
                附件
            </td>
            <td height="25" colspan="7" align="left">
                <asp:TextBox ID="txtaccessories" runat="server" Width="100px"></asp:TextBox>
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td height="25" align="right">
                勘察日期
            </td>
            <td height="25" align="left">
                <asp:TextBox ID="txtsurveydate" runat="server" Width="100px"></asp:TextBox>
            </td>
            <td height="25" align="right">
                登记人
            </td>
            <td height="25" align="left">
                <asp:Label ID="lblSubscriber" runat="server" Text=""></asp:Label>
            </td>
            <td height="25" align="right">
                登记日期
            </td>
            <td height="25" align="left">
                <asp:Label ID="lblRegistration" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td height="25" rowspan="8" align="right">
                审核过程
            </td>
            <td height="25" align="right">
                审核级别
            </td>
            <td height="25" colspan="3" align="center">
                审核人员审核意见
            </td>
            <td height="25" colspan="2" align="center">
                设计人员意见
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td height="25" align="right">
                单项审核人审核
            </td>
            <td height="25" colspan="3" align="left">
                &nbsp;
            </td>
            <td height="25" colspan="2" align="left">
                &nbsp;
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td height="25" align="right">
                校审人审核
            </td>
            <td height="25" colspan="3" align="left">
                &nbsp;
            </td>
            <td height="25" colspan="2" align="left">
                &nbsp;
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td height="25" align="right">
                所审核人审核
            </td>
            <td height="25" colspan="3" align="left">
                &nbsp;
            </td>
            <td height="25" colspan="2" align="left">
                &nbsp;
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td height="25" align="right">
                校审人审核
            </td>
            <td height="25" colspan="3" align="left">
                &nbsp;
            </td>
            <td height="25" colspan="2" align="left">
                &nbsp;
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td height="25" align="right">
                项目总负责人审核
            </td>
            <td height="25" colspan="3" align="left">
                &nbsp;
            </td>
            <td height="25" colspan="2" align="left">
                &nbsp;
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td height="25" align="right">
                部门主管审核
            </td>
            <td height="25" colspan="3" align="left">
                &nbsp;
            </td>
            <td height="25" colspan="2" align="left">
                &nbsp;
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td height="25" align="right">
                分院审核
            </td>
            <td height="25" colspan="3" align="left">
                &nbsp;
            </td>
            <td height="25" colspan="2" align="left">
                &nbsp;
            </td>
        </tr>
        <tr style="background-color: #F9F9FB; height: 25;">
            <td height="25" colspan="13">
                <div align="center">
                    <asp:Button ID="btnAdd" runat="server" Text="· 提交 ·" OnClick="btnAdd_Click"></asp:Button>
                </div>
            </td>
        </tr>
    </table>
    <input type="hidden" id="HOrgIDCol" runat="server" />
    </form>
    </form>
</body>
</html>
